package pri.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;



import pri.dao.InfoDao;
import pri.entity.Info;

@Service

public class InfoServiceImpl {
	
	@Autowired
	private InfoDao  infoDao;
	

	@Transactional //本地事务注解
	public Object insert(Info info) {
		return infoDao.insert(info);
	}

}
